package com.pb.wkflow.core.mapper;

import com.pb.wkflow.core.entity.ActHiCommentEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 苗益辉
 * @date 2022/9/26 15:19
 */
@Repository
public interface ActHiCommentMapper {

    /**
     * 根据流程实例id查询审批意见
     * @param processInstanceId 流程实例id
     * @return List<ActHiCommentEntity>
     */
    List<ActHiCommentEntity> findCommentsByProcessInstanceId(@Param("processInstanceId") String processInstanceId);
}
